{extend name='base' }
{block name='content'}
    <div class="book-head">
        <img src="__STATIC__/index/images/book.png" alt="">
    </div>
    <div class="book-title">
        　———— 图书商城 ————
    </div>
    <div class="book-cont">
        {foreach $bookList as $v}
        <div class="book-list">
            <img src="{$v.book_thumb}" alt="">
            <div class="book-main">
                <span class="book-tit">《{$v.book_name}》</span>
                <span class="book-dis">
                    {$v.book_degist}
                </span>
                <span class="book-price">
                    价格：{$v.book_price}元
                </span>
                <a href="{:url('index/book/buy',['book_id'=>$v.book_id])}" class="book-buy"><i class="iconfont">&#xe603;</i>购买</a>
            </div>
        </div>
        {/foreach}
    </div>
{/block}
{/extend}
